/**
 * TOSSIM-specific scheduler implementation, which models
 * tasks as simulation events (in order to capture delay).
 *
 * @author Philip Levis
 * @date   Nov 22 2005
 *
 **************************************************************
 * Modified for Urgent Based Task Scheduling...
 * by Mina Jung 
 * October 2010
 */

// $Id: TinySchedulerC.nc,v 1.4 2006/12/12 18:23:32 vlahan Exp $

configuration TinySchedulerC {
  provides interface Scheduler;
  provides interface TaskBasic[uint8_t id];
  provides interface TaskUrgent[uint8_t id];
}
implementation {
  components SimSchedulerUrgentP as Sched, McuSleepC, Atm128EnergyHandlerC;
  Scheduler = Sched;
  TaskBasic = Sched;
  TaskUrgent = Sched;
  Sched.McuSleep -> McuSleepC;
  Sched.Energy -> Atm128EnergyHandlerC;
}

